<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<style>
    /*交集选择器*/
    h5.object{
        color: pink;
    }
    /*交集选择器*/
    p.object.WangWu{
        color: chartreuse;
    }
    /*并集选择器*/
    .gouba,.qiqi{
        font-size: 30px;
        color: skyblue;
    }
</style>
<body>
    <p class="object">张三</p>
    <p class="object">李四</p>
    <p class="object WangWu">王五</p>
    <h5 class="object">刘六</h5>
    <h5 class="qiqi">琪七</h5>
    <h5 class="gouba">苟八</h5>
</body>
</html>